package com.net.server;

import io.netty.channel.Channel;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName ConnectManager
 * @Description TODO
 * @Author zhuchen216628
 * @Date 2018/9/28 14:19
 * @Version 1.0
 **/
@Component
public class ConnectManager {

    private Map<Channel,Channel> clientConnectorMap = new HashMap<>();

    public Map<Channel, Channel> getClientConnectorMap() {
        return clientConnectorMap;
    }

    public void setClientConnectorMap(Map<Channel, Channel> clientConnectorMap) {
        this.clientConnectorMap = clientConnectorMap;
    }
}
